<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>首页</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
	</head>
	<body>
		
		{include file='wap/header'}
		{pc:newslists cid="4" position="0" name="data" limit="10" }
		{if $key==0}
		<span>{$key}=>{$data.title | msubstr=0,40}</span><br>
		{else /}
		{$key}=>{$data.title | msubstr=0,40}<br>
		{/if}
		{/pc:newslists}
		<div>
			<ul>

				{pc:newslists cid="3" position="0" name="data" limit="10" }

				<li>
					{if $key==0}
					{$key}
					{else /}
					{$key}
					{/if}
					<a href="index.php/nshow.html?id={$data.id}&cid={$data.cid}">{$data.title | msubstr=0,40}</a>
				</li>
				{/pc:newslists}

			</ul>
		</div>
		<div>
			<a href="index.php/nlists.html?cid=4">公司新闻</a>
		</div>
		<div>
			<a href="index.php/page.html?cid=10&id=2">联系我们</a>
		</div>
		<form action="{:url('index/Index/seach')}" method="get">
			<input type="text" value="" name="key">
			<select name="model_id">
				<option value="1">文章</option>
				<option value="2">单页</option>
				<option value="3">图片</option>
				<option value="4">下载</option>
			</select>
			<input type="submit" value="搜索" />
		</form>
		{pc:link type="1" name="data" num="10"}
		<li><a href="{$data.url}" target="_blank">{$data.name}</a></li>
		{/pc:link}
		{pc:cate id="1" name="data"}
		{$data.name}
		{/pc:cate}
	</body>
</html>
